package com.hz.house.controller;

import javax.servlet.http.HttpServletRequest;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.multipart.MultipartFile;

@RestController
@RequestMapping("/api/v2/file")
public class FileUploadController {
	
	/**
	 * 	上传文件并检查是否图片包含违规内容
	 * @param req
	 * @param file
	 * @return
	 */
	@PostMapping("/uploadFile")
	public Object uploadFile(HttpServletRequest req,MultipartFile[] file) {
		return null;
	}

}
